package com.jy.api.signUpReq.pos;

import com.jy.api.domain.NumTransaction;
import com.jy.api.domain.Order;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
import java.util.List;

/**
 * Created by xiaohua on 2019/5/16.
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class NumDetailsRes {

    private NumTransaction numTrans;


    private OrderRes res;

    @Data
    @NoArgsConstructor
    @AllArgsConstructor
    public static class  OrderRes{
        private String orderId;

        private double amount;


        private List<OrderItemRes> itemRes;

        @Data
        @NoArgsConstructor
        @AllArgsConstructor
        public static class OrderItemRes{
            private String productName;

            private int count;

            private double amount;

            private String empName;

            private Date addTime;

            private String productId;

            private int setMealId;
        }
    }


}
